/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

/*
 * Copyright (c) 2014, Joyent, Inc.
 */

#page-dashboard {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  .row {
    margin-bottom: 3px;
  }
  .first-row {
    .make-row(30px);
    margin-bottom: 2px;
  }
  .counter {
    .make-xs-column(6, 2);
    text-align: center;
    font-size: 14px;

    .name {
      font-size: 12px;
      color: @gray;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-weight: 100;
    }

    .value {
      font-size: 38px;
      padding: 0;
    }
  }

  .counter .users {
    background: #fff;
    color: @brand-success;
    margin-left: 1px;
    padding: 15px;
  }
  .counter .vms {
    padding: 15px;
    color: @brand-success;
    background: #fff;
    margin-right: 1px;
  }


  .servers {
    overflow: hidden;
    padding: 15px;
    background: #fff;

    .data {
      .make-row(0);
    }

    .stat {
      .make-md-column(3, 0);
      padding: 8px;
    }
    .stat.servers {
      .make-md-column(2, 0);
    }
    .stat.servers-reserved {
      .make-md-column(2, 0);
    }
    .stat.ram-provisionable-total {
      .make-md-column(4, 0);
    }
    .name {
      font-size: 12px;
      color: @gray;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-weight: 100;
    }
    .value {
      font-size: 24px;
      color: @brand-info;
    }

    .server-provisionable-memory-graph {
      color: #fff;
      left: 40px;
      .title { fill: #fff; font-size: 10px; }
      .item { font-size: 10px; line-height: 1; }

      .y_grid line { stroke: #888;  }
      .x_grid line { stroke: #888;  }
      .x_tick { border-left: 1px dotted rgba(255,255,255,.3); }
      .x_label { color: #333; font-size: 10px; line-height: 1; }
    }
  }
}

